from django import forms
from travel_game.models import Profession, Party

class teamInfoForm(forms.Form):
    mainCharacter = forms.CharField(label="Team Leader")
    teamMember1 = forms.CharField(label="First Member")
    teamMember2 = forms.CharField(label="Second Member")
    teamMember3 = forms.CharField(label="Third Member")
    teamMember4 = forms.CharField(label="Fourth Member")
    profession = forms.ModelChoiceField(empty_label=None,
                                        queryset=Profession.objects.all(),
                                        widget=forms.RadioSelect,
                                        label="Profession")
    paceChoices = (
        (3,'Grueling'),
        (2,'Brisk'),
        (1,'Slow')
    )
    rationChoices = (
        (3,'Filling'),
        (2,'Normal'),
        (1,'Meager')
    )
    rations = forms.ChoiceField(choices=rationChoices)
    pace = forms.ChoiceField(choices=paceChoices)
    startDate = forms.DateField()
    
class paceForm(forms.Form):
    paceChoices = (
        (3,'Grueling'),
        (2,'Brisk'),
        (1,'Slow')
    )
    pace = forms.ChoiceField(choices=paceChoices)
    
class rationForm(forms.Form):
    rationChoices = (
        (3,'Filling'),
        (2,'Normal'),
        (1,'Meager')
    )
    rations = forms.ChoiceField(choices=rationChoices)
   
